import axios from 'axios';

export const login = data => {
  return axios({
    method: 'post',
    url: 'https://conduit.productionready.io/api/users/login',
    data
  });
}

export const register = data => {
  return axios({
    method: 'post',
    url: 'https://conduit.productionready.io/api/users',
    data
  });
}